<div class="trucs view">
<h2><?php  __('Truc');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $truc['Truc']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Catruc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($truc['Catruc']['id'], array('controller' => 'catrucs', 'action' => 'view', $truc['Catruc']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nhanvien'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($truc['Nhanvien']['id'], array('controller' => 'nhanviens', 'action' => 'view', $truc['Nhanvien']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaytruc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $truc['Truc']['ngaytruc']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Thực hiện'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('DS Trực', true), array('action' => 'edit', $truc['Truc']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Xóa Trực', true), array('action' => 'delete', $truc['Truc']['id']), null, sprintf(__('Bạn có muốn xóa # %s?', true), $truc['Truc']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('DS Trực', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Trực mới', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('DS Ca trực', true), array('controller' => 'catrucs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Ca trực mới', true), array('controller' => 'catrucs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('DS Nhân viên', true), array('controller' => 'nhanviens', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Nhân viên mới', true), array('controller' => 'nhanviens', 'action' => 'add')); ?> </li>
	</ul>
</div>
